package com.netease.dragonwar.common;

/**
 * 运动方向
 */
public enum GameDirectionEnum {
    /**
     * 上
     */
    DIRECTION_UP(0),

    /**
     * 右
     */
    DIRECTION_RIGHT(1),

    /**
     * 下
     */
    DIRECTION_DOWN(2),

    /**
     * 左
     */
    DIRECTION_LEFT(3);


    private int code;

    private GameDirectionEnum(int code) {
        this.code = code;
    }

    public int getCode(){
        return code;
    }

}
